<template>
  <div class="flexbox">
    <div>
      <router-link to="/editdia">
        <!-- 设置预警值 -->
        <p>钻石数量<span class="icon"> ></span></p><span>{{$store.state.user.balanceMoney}}个</span></router-link>
    </div>
    <div>
      <router-link to="/cash">
        <p>可提现余额 <span class="icon"> ></span></p><span>{{($store.state.user.balance/100).toFixed(2)}}</span></router-link>
    </div>
    <div>
      <router-link to="/fenchenginfo">
        <p>分成比例<span class="icon"> ></span> </p><span>{{$store.state.user.mmSPrice}}%</span>
      </router-link>
    </div>
  </div>
</template>
<script>
  export default {};
</script>
<style lang="scss" scoped>
  .flexbox {
    display: flex;
    display: -webkit-flex;
    /* Safari */
    justify-content: center center;
    flex-direction: row;
    align-items: center;
    background: #fffbef;
    div {
      padding: 10px 0;
      flex-grow: 1;
      text-align: center;
      p {
        font-size: 17px;
        color: #441900;
        padding: 10px;
        span {
          color: #c08700;
        }
      }
      span {
        font-size: 15px;
        color: #d95000;
      }
    }
  }
</style>


